


#if !defined( __AXIS_H__ )
#define __AXIS_H__


#include "wx/charttypes.h"


class wxChartSizes;



class WXDLLIMPEXP_CHART wxAxis

{
public:
	wxAxis(ChartValue max = 0, ChartValue min = 0);
	virtual ~wxAxis() {};



	virtual void Draw(CHART_HPAINT hp, CHART_HRECT hr) = 0;



	virtual void SetVirtualMax(ChartValue v);
	virtual void SetVirtualMin(ChartValue v);
	virtual ChartValue GetVirtualMax() const;
	virtual ChartValue GetVirtualMin() const;



	virtual void SetZoom(double z);
	virtual double GetZoom();



	virtual void SetSizes(wxChartSizes *sizes);
	virtual wxChartSizes* GetSizes() const;

private:
	ChartValue m_vMax;
	ChartValue m_vMin;
	double m_Zoom;
	wxChartSizes *m_Sizes;
};

#endif // __XAXIS_H__
